package oop.tests;

public class Students {
	public String fullName;
	public int course;
	public String speciality;
	public  String university;
	public enum specialities{Mathematics,Informatics,History};
	public enum universities{TU,VTU,HTI};
	public String email;
	public String phone;
	static int numberOfInstances = 0;
	
	public Students(String name,int course){
		this.fullName = name;
		this.course = course;
		numberOfInstances++;
	}
	public Students(){
		this.fullName = "Nikolay Kalchev";
		this.course = 4;
		this.speciality = specialities.Mathematics.toString();
		numberOfInstances++;
	}
	public void print(){
		System.out.println(this.fullName);
		System.out.println(this.course);
		System.out.println(this.speciality);
		System.out.println(this.university);
		System.out.println(this.email);
		System.out.println(this.phone);
	}
	public String getName(){
		return this.fullName;
	}
	public void setName(String name){
		this.fullName = name;
	}
	public static void main(String[] args){
	
	}
}
